/**
 * @author : cww
 * @date : 2020/12/27 16:31
 *
 */
public class DBLogFactory implements LogFactory{
    @Override
    public Connect getConnect() {
        return new DBConnect();
    }

    @Override
    public Log getLog() {
        System.out.println("设置数据库连接");
        return new DBLog();
    }
}
